package com.etc.controller;

import com.etc.service.Consultant02Service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class Chat02Controller {

    @Autowired
    private Consultant02Service consultantService;

    @RequestMapping("/chat02")
    public String chat(String question) {
        return consultantService.chat(question);
    }

}
